<div class="footer">
	<div class="piece1_hd"></div>
    <div class="piece1_bd">
    <div class="box_shadow clearfix">
        <div class="footer_top">
            <div class="flink_add">
                <a href="/flink/flink_add">
                    申请链接
                </a>
                |
                <a href="/flink/index">
                    全部链接
                </a>
            </div>
            <div class="f_list">
                <h4>
                    <b>
                        友情链接
                    </b>
                    　
                </h4>
                <ul class="l_two">
                	<volist name="flink_list" id="val">
					<li><a target="_blank" href="{$val.url}" class="f_links fl">{$val.name}</a></li>
                    </volist>
                </ul>
            </div>
        </div>
        <!--友情链接-->
        </present>
        <div class="new_footer tc">
            <div class="copyright">Copyright &copy;2012 {$site_name}. All Rights Reserved. {$site_icp} {$statistics_code}</div>
        </div>
    </div>
    </div>
    <div class="piece1_ft"></div>
</div>
<div id="shangxia" class="touming">
	<div id="shang">
    </div>
    <div id="xia">
    </div>
</div>
<script type="text/javascript">
    jQuery(document).ready(function($) {
        $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $("html") : $("body")) : $("html,body");
        $("#shang").mouseover(function() {
            up()
        }).mouseout(function() {
            clearTimeout(fq)
        }).click(function() {
            $body.animate({
                scrollTop: 0
            },
            400)
        });
        $("#xia").mouseover(function() {
            dn()
        }).mouseout(function() {
            clearTimeout(fq)
        }).click(function() {
            $body.animate({
                scrollTop: $(document).height()
            },
            400)
        });

    });
    function up() {
        $wd = $(window);
        $wd.scrollTop($wd.scrollTop() - 1);
        fq = setTimeout("up()", 50)
    };
    function dn() {
        $wd = $(window);
        $wd.scrollTop($wd.scrollTop() + 1);
        fq = setTimeout("dn()", 50)
    };
</script>
</body>
</html>